//
//  NSDate+Extension.m
//  ECERP.CRM
//
//  Created by 刘思麟 on 2018/11/15.
//  Copyright © 2018 Mac. All rights reserved.
//

#import "NSDate+Extension.h"

@implementation NSDate (Extension)

- (NSString*)dateStringWithFormetterStr:(NSString*)formetterStr {
    NSDateFormatter * fmt = [[NSDateFormatter alloc] init];
    [fmt setDateFormat:formetterStr];
    NSString * dateStr = [fmt stringFromDate:self];
    return dateStr;
}

@end
